package com.oraclechain.pocketeos.blockchain;

import com.oraclechain.pocketeos.blockchain.bean.JsonToBinRequest;
import com.oraclechain.pocketeos.coin.BaseCoin;

import java.util.ArrayList;

public class CommonDataBean {
    private BaseCoin baseCoin;
    private String action;

    private ArrayList<JsonToBinRequest> jsonToBinRequest = new ArrayList<>();
    private int fee;

    public CommonDataBean(BaseCoin baseCoin, String action, int fee) {
        this.baseCoin = baseCoin;
        this.action = action;
        this.fee = fee;
    }

    public BaseCoin getBaseCoin() {
        return baseCoin;
    }

    public void setBaseCoin(BaseCoin baseCoin) {
        this.baseCoin = baseCoin;
    }

    public String getAction() {
        return action;
    }


    public ArrayList<JsonToBinRequest> getJsonToBinRequest() {
        return jsonToBinRequest;
    }

    public void setJsonToBinRequest(ArrayList<JsonToBinRequest> actions) {
        this.jsonToBinRequest = actions;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public int getFee() {
        return fee;
    }

    public void setFee(int fee) {
        this.fee = fee;
    }
}
